package com.finalBlog.common;

import com.jfinal.core.Controller;

/**
 * finalBlog
 *	
 * 类/接口信息描述:
 *
 * @author dengxc
 *
 */
public abstract class AdminBaseController extends Controller{
	
	protected JsonMsg jsonMsg = new JsonMsg();
	protected Pagination pagination ;
	
	public void putMsg(String msg,boolean issuccess,int num,String tourl){
		jsonMsg.setMsg(msg);
		jsonMsg.setSuccess(issuccess);
		jsonMsg.setNum(num);
		jsonMsg.setToUrl(tourl);
	}
	public abstract void index();
	
}
